using Sce.Pss.Core.Graphics;

namespace Storyteller.Framework.Graphics
{
	public class BlendMode
	{
		internal BlendFunc BlendFunc { get; set; }
		
		public BlendMode()
		{
		}
		
		public BlendMode(BlendFunc blendFunc)
		{
			BlendFunc = blendFunc;
		}
		
		public static BlendMode Alpha = new BlendMode(new BlendFunc(BlendFuncMode.Add, BlendFuncFactor.SrcAlpha, BlendFuncFactor.OneMinusSrcAlpha));
		public static BlendMode Additive = new BlendMode(new BlendFunc(BlendFuncMode.Add, BlendFuncFactor.One, BlendFuncFactor.One));
		public static BlendMode PremultipliedAlpha = new BlendMode(new BlendFunc(BlendFuncMode.Add, BlendFuncFactor.One, BlendFuncFactor.OneMinusSrcAlpha));
	}
}
